<template>
    <p style="white-space: pre-line;"></p>
    <el-card style="width: 100%">
        <template #header>
            <div class="card-header">
                <div style="font-size: xx-large;">{{ information.title }}</div>
            </div>
        </template>
        <el-main>
            <p>{{ information.intro }}</p>
        </el-main>
        <div style="margin: 20px 0"></div>
        <el-footer>
            <el-button type="primary" size="large" plain @click="goToWeb()">点击查看原网页</el-button>
        </el-footer>
    </el-card>
</template>
<script>
export default {
    setup() {

    },

    data() {
        return {
            answer: '',

        }

    },
    methods: {

        goToWeb() {
            window.location.href = this.information.url;
        },

    },
    props: {
        information: { type: String, required: true }
    }
}
</script>